package com.bw.mvvm_comom.mvvm;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

public interface IViewModel extends LifecycleObserver {

    @OnLifecycleEvent(value = Lifecycle.Event.ON_CREATE)
    void onCreate();
    @OnLifecycleEvent(value = Lifecycle.Event.ON_DESTROY)
    void onDestroy();

}
